f = open('boek2-nl.html')
str = f.read()
str = str.replace('\n', '')
str = str.replace('<BODY><HTML>', '<html><body><div>')
str = str.replace('<BR><BR>&nbsp;&nbsp;', '</div>\n<div>')
str = str.replace('<BR>&nbsp;&nbsp;', '\n\n')
str = str.replace('</BODY></HTML>', '</div></body><html>')
print str
